home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
porttool.zip
/
CP.MAN
< prev
next >
Wrap
Text File
|
1992-12-03
|
2KB
|
50 lines
NNAAMMEE
cp - copy files
SSYYNNOOPPSSIISS
ccpp [ -hipnv ] _f_i_l_e_1 _f_i_l_e_2
ccpp [ -hiprnv ] _f_i_l_e ... _d_i_r_e_c_t_o_r_y
In the first form _f_i_l_e_1 is copied to _f_i_l_e_2.
In the second form one or more files are copied into the specified
directory, retaining their original names.
DDEESSCCRRIIPPTTIIOONN
ccpp copies files. ccpp copies one file to another file, or one or
more files to another directory. The files being copied are not
destroyed.
When _f_i_l_e_1 is copied to _f_i_l_e_2 and _f_i_l_e_2 already exists, _f_i_l_e_2's
contents are erased and _f_i_l_e_1 is then copied into _f_i_l_e_2. _f_i_l_e_2's
visibility modes (System or Hidden bits) are preserved.
When _f_i_l_e_1 is copied to _f_i_l_e_2 and _f_i_l_e_2 does not exist, _f_i_l_e_2 is
created with the default visibility modes (not System and not
Hidden). _f_i_l_e_1 is then copied to _f_i_l_e_2. _f_i_l_e_2 is then set with
_f_i_l_e_1's access modes.
OOPPTTIIOONNSS
--hh Display a short help message.
--ii Prompt the user with the name of the file whenever the
copy will cause an existing file to be overwritten.
Giving a yy in response causes ccpp to continue. Any other
response prevents overwriting the file.
--pp Preserve date stamps and access modes.
--rr or --RR When any source files are directories, ccpp copies each
subtree rooted at that name; the destination must be a
directory.
--nn Copy newer files only. Prevents existing files from being
overwritten by older or equal files. Note that only the
timestamp is checked, and not the file size or contents.
--vv Announce the names of the source and destination files as
they are copied.
CCooppyyrriigghhtt ((cc)) FFrraannkk WWhhaalleeyy 11999922.. AAllll rriigghhttss rreesseerrvveedd